package com.flexycore.iphone.view;

import com.flexycore.iphone.uikit.UIWebView;
import com.flexycore.iphone.uikit.UIWebViewDelegate;

public class WebViewDelegate extends UIWebViewDelegate {

	public WebViewDelegate() {
		init();
	}
	
	public void webViewDidFailLoadWithError(UIWebView webView, int error) {
		System.err.println("The url could not be loaded because of error " + error);
	}
	
	public void webViewDidFinishLoad(UIWebView webView) {
		System.out.println("The url is now loaded");
	}
	
	public void webViewDidStartLoad(UIWebView webView) {
		System.out.println("The url starts loading");
	}
}
